<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="../css/base.css">
    <link rel="stylesheet" href="../css/admin.css">
    <script src="../js/ajax.js"></script>
    <title>管理页</title>
</head>

<body>
    <!-- 头部 -->
    <header>
        <div>
            <img src="../images/admin/icon-logo.png">
        </div>
    </header>

    <!-- 主体内容 -->
    <div class="container">
        <!-- 左侧导航栏 -->
        <div class="nav">
            <ul class="nav-list">
                <li>
                    <h1>Admin</h1>
                </li>
                <li class="nav-item">
                    <a href="/admin/admin.html">
                        首页
                    </a>
                </li>
                <li class="nav-item">
                    <a class="open" href="#">
                        <img src="../images/admin/icon/Avatar.png">
                        用户管理<span></span>
                    </a>
                    <ul>
                        <li>
                            <a href="/admin/user_list.html">
                                用户列表
                            </a>
                        </li>
                        <li>
                            <a class="active" href="/admin/user_add.html">
                                添加用户
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="nav-item">
                    <a href="#">
                        <img src="../images/admin/icon/Menu.png">
                        分类管理<span></span>
                    </a>
                    <ul>
                        <li>
                            <a href="/admin/category_list.html">
                                分类列表
                            </a>
                        </li>
                        <li>
                            <a href="/admin/category_add.html">
                                添加分类
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="nav-item">
                    <a href="#">
                        <img src="../images/admin/icon/Box.png">
                        商品管理<span></span>
                    </a>
                    <ul>
                        <li>
                            <a href="/admin/product_list.html">
                                商品列表
                            </a>
                        </li>
                        <li>
                            <a href="/admin/product_add.html">
                                添加商品
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="nav-item">
                    <a href="javascript:location.replace('/admin/');">
                        <img src="../images/admin/icon/Back_2.png">
                        退出登录<span class="none"></span>
                    </a>
                </li>
            </ul>
        </div>

        <!-- 右侧内容 -->
        <div class="index">
            <div class="list">
                <div class="top">
                    <h2>添加用户</h2>
                </div>

                <div class="add">
                    <div class="reg">
                        <div>
                            <div class="info">
                                <input id="uname" onblur="check()" type="text" placeholder="请输入电话号码">
                                <img src="../images/admin/icon/账号.png">
                            </div>
                            <label id="uname_msg"></label>
                        </div>

                        <div>
                            <div class="info">
                                <input id="upwd" onblur="check_pwd()" type="password" placeholder="请输入密码">
                                <img src="../images/admin/icon/密码.png">
                            </div>
                            <label id="upwd_msg"></label>
                        </div>

                        <button onclick="register()" type="button">确认注册</button>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 尾部 -->
    <link rel="stylesheet" href="../css/footer.css">
    <div style="color: black;">
        <div class="jianjian-bontton">
            <div><img src="../images/index/footer-logo.png" alt=""></div>
            <a href=""><span>关于Sennheiser</span></a><span> |</span>
            <a href=""><span> 帮助中心</span></a>
            <span>|</span>
            <p>森海塞尔中国在线商城由森海塞尔电子(北京)有限公司授权双齐国际贸易（上海）有限公司负责运营管理</p>
            <a href="#">
                <p>2020 , all rights reserved 京ICP备 18017514号</p>
            </a><br>
            <a href="#">
                <p> © 2010-2020 , 森海塞尔电子(北京)有限公司. 京公网安备11010502006893</p>
            </a>
        </div>
    </div>

    <script src="../js/admin_tool.js"></script>
</body>

</html>